package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 库房上架占比对象 warehouse_shelf_ratio
 *
 * @author admin
 * @date 2025-08-23
 */
public class WarehouseShelfRatio extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 档案类型名称 */
    @Excel(name = "档案类型名称")
    private String typeName;

    /** 上架占比（百分比） */
    @Excel(name = "上架占比(%)")
    private BigDecimal shelfRatio;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public BigDecimal getShelfRatio() {
        return shelfRatio;
    }

    public void setShelfRatio(BigDecimal shelfRatio) {
        this.shelfRatio = shelfRatio;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("typeName", getTypeName())
                .append("shelfRatio", getShelfRatio())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("remark", getRemark())
                .toString();
    }
}
